package com.e.Pojo;

import java.io.Serializable;

public class User implements Serializable {


    String sno;
    String sname;
    String phone;
    String college;
    String sdept;
    String ssex;
    String password;

    public void  User (String sno,String sname,String phone,String college,String sdept,String ssex,String password){
            this.sno = sno;
            this.sname = sname;
            this.phone  = phone;
            this.college = college;
            this.sdept = sdept;
            this.ssex  = ssex;
            this.password = password;
    }


    public String getSno() {
        return sno;
    }

    public void setSno(String sno) {
        this.sno = sno;
    }

    public String getSname() {
        return sname;
    }

    public void setSname(String sname) {
        this.sname = sname;
    }

    public String getPhone() {
        return phone;
    }

    public void setPhone(String phone) {
        this.phone = phone;
    }

    public String getCollege() {
        return college;
    }

    public void setCollege(String college) {
        this.college = college;
    }

    public String getSdept() {
        return sdept;
    }

    public void setSdept(String sdept) {
        this.sdept = sdept;
    }

    public String getSsex() {
        return ssex;
    }

    public void setSsex(String ssex) {
        this.ssex = ssex;
    }

    public String getPassword() {
        return password;
    }

    public void setPassword(String password) {
        this.password = password;
    }



    @Override
    public String toString() {
        return "User{" +
                "sno='" + sno + '\'' +
                ", sname='" + sname + '\'' +
                ", phone='" + phone + '\'' +
                ", college='" + college + '\'' +
                ", sdept='" + sdept + '\'' +
                ", ssex='" + ssex + '\'' +
                ", password='" + password + '\'' +
                '}';
    }
}
